export default {
  filters: {
    sectionFilter(data, day, startNum, endNum) {
      if (data && Object.keys(data).length > 0) {
        day = data.day
        startNum = data.startNum
        endNum = data.endNum
      }
      const weeks = ['一', '二', '三', '四', '五', '六', '日']
      return `周${weeks[parseInt(day) - 1]} ${startNum}-${endNum}节`
    }
  }
}
